package com.zh.domain.vo.team;

import com.zh.domain.entity.TeamUserHistory;
import com.zh.domain.vo.user.UserVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "TeamUserHistoryVo", description = "团队成员变动记录视图")
public class TeamUserHistoryVo extends TeamUserHistory implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("邀请人")
    private UserVO inviter;
    @ApiModelProperty("被邀请人")
    private UserVO invited;
    @ApiModelProperty("申请人")
    private UserVO applicant;
    @ApiModelProperty("离开人")
    private UserVO remover;
    @ApiModelProperty("创建人")
    private UserVO creator;
    @ApiModelProperty("修改人")
    private UserVO updater;
    @ApiModelProperty("团队名称")
    private String teamName;
}
